package com.test.mapper4.mybatismapper4testdemo.entity;

import io.mybatis.provider.Entity;
import lombok.Getter;
import lombok.Setter;

/**
 * Created with IntelliJ IDEA.
 *
 * @author： liuziyang
 * @date： 2024/6/13-上午9:40
 * @description：
 * @modifiedBy：
 * @version: 1.0
 */
@Setter
@Getter
@Entity.Table("DM_USER")
public class UserEntity {
  @Entity.Column(id = true, remark = "primary id", updatable = false, insertable = false)
  private Long id;

  @Entity.Column("name")
  private String userName;

  @Entity.Column private String sex;
}
